import router from "../router/index"




const whiteLists=["login"]//白名单页面，无token也可进入


router.beforeEach((to,from,next)=>{
   /* const token=localStorage.getItem("token")
    if(token||whiteLists.includes(to.name)){*/
        next()
    /*}else{
        router.push("/login")
    }*/
})
